Repository navigation
Conversation
…own slot limits go (#558) why: 7 failing -> 0 failing in the spec tests; the uplink is wrapped with the link on both ends, relay.body and relay-chunk are gone, relay.request names a channel, the protocol is 34.
…nk's why: 0 failing -> 0 failing; the audit named two duplicate exports and two stale suppressions.
…r then peer abort, caller body and timer cleanup (#558)
…orker's catalog refresh (#558)
…iew's unproven lines get tests, comments and docs match the code (#558)
…il it is back, not by a fixed sum (#558)
… name the registered target (#558)
…s, and the real-socket helper stays beside the link's own tests (#558)
This was referenced Oct 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #558
Status
Implement: done (1198 green) Review: round 2, clean; 2 text fixes unreviewed Hardware: n/a Gate: waiting for the stack
Done when
src/daemon,src/gateway,src/link,src/contractunit files green on the head; CI checked).Assumptions
Assumption: where the spec says the startup tests are "modelled on
server.test.ts:1241", they live insrc/daemon/server.test.tsas a newdescribe, using the existingcreateHarness(given arelayTargetsoption) with a link pair on the uplink, and the fake clock of the link pair for the 60 s wait — the smallest change that reuses the harness.Assumption: the protocol bump is tested as 34 (33 plus one) in the existing protocol-range tests, with 33 added to the list of previous versions the daemon refuses.
Assumption:
relayChannelSchemais a placeholder (z.string()) insrc/contract/relay.tsso the red tests compile; green gives it the 1–32[A-Za-z0-9-]bound.Assumption: a request that reaches an uplink before
start()has claimed its socket parks on a gate that follows convergence — the startup tests send a relay in that window, and the conservative option is to park every non-status.getcall there, as it already does after the claim.Assumption:
src/daemon/relay.test.ts(not named in F17) only changes how it builds its arguments:relay.requesttakes the accepted channel and the push has nochunk.Assumption: the daemon test helpers
settleandreadAllare renamedsettleWithinandreadParts, so they do not repeat the link's exports (Fallowduplicate-export).Review
Spec review: 7 blocking, 7 fixed, 0 notes. Code review: 5 blocking, 5 fixed, 0 notes. Claims review: 3 blocking, 3 fixed, 0 notes.
Rounds: 2. Tokens: 9.6M.
Fixed unreviewed: server.test.ts:1516 channel-before-parking assertion; COMPONENTS.md:45 Relay targets row.
Written by an agent.